package com.lingyue.entity.module.def.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

import java.time.LocalDate;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author lizhiyuan
 * @since 2020-02-20
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("load_arrive_temp")
@ApiModel(value="LoadArriveTempEntity对象", description="")
public class LoadArriveTempEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "ID")
    @TableId(value = "LRT_ID", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "批次表ID")
    @TableField("LRT_LDB_ID")
    private Long ldbId;

    @ApiModelProperty(value = "经销商ID")
    @TableField("LRT_DEL_ID")
    private Long delId;

    @ApiModelProperty(value = "车架号，若不存在，上传失败")
    @TableField("LRT_VIN")
    private String vin;

    @ApiModelProperty(value = "活动code（必填，活动编号）")
    @TableField("LRT_CAMPAIGN_CODE")
    private String campaignCode;

    @ApiModelProperty(value = "远程呼叫单号（非必填，远程线索须填写）")
    @TableField("LRT_TICKET_ID")
    private String ticketId;

    @ApiModelProperty(value = "是否预约（必填，Y为预约，N为非预约）")
    @TableField("LRT_APPOINTMENT")
    private String appointment;

    @ApiModelProperty(value = "到店时间（必填，时间格式为YYYY/MM/DD）")
    @TableField("LRT_ARRIVE_DATE")
    private String arriveDate;

    @ApiModelProperty(value = "错误描述")
    @TableField("LRT_ERROR_MSG")
    private String errorMsg;


    public static final String LRT_ID = "LRT_ID";

    public static final String LRT_LDB_ID = "LRT_LDB_ID";

    public static final String LRT_DEL_ID = "LRT_DEL_ID";

    public static final String LRT_VIN = "LRT_VIN";

    public static final String LRT_CAMPAIGN_CODE = "LRT_CAMPAIGN_CODE";

    public static final String LRT_TICKET_ID = "LRT_TICKET_ID";

    public static final String LRT_APPOINTMENT = "LRT_APPOINTMENT";

    public static final String LRT_ARRIVE_DATE = "LRT_ARRIVE_DATE";

    public static final String LRT_ERROR_MSG = "LRT_ERROR_MSG";

}
